home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wild Blue Yonder 1: 50 Years of Gs & Jets
/
Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso
/
control
/
panel.dir
/
00743_Script_743
< prev
next >
Wrap
Text File
|
1994-08-29
|
2KB
|
47 lines
on initControls
global bgSlider, bgTrack, bgVol, biteSlider, biteTrack, biteVol, controller, ¼
engineVol, engineTrack, engineSlider, mooVVol, mooVSlider, mooVTrack, ¼
noController, showController, sliderCast, sliderMin, sliderScale, volumes
set the puppet of sprite mooVSlider = TRUE
set the puppet of sprite biteSlider = TRUE
set the puppet of sprite engineSlider = TRUE
set the puppet of sprite bgSlider = TRUE
set the immediate of sprite mooVSlider = TRUE
set the immediate of sprite biteSlider = TRUE
set the immediate of sprite engineSlider = TRUE
set the immediate of sprite bgSlider = TRUE
set sliderMax = the top of sprite mooVTrack
set sliderMin = the bottom of sprite mooVTrack
set sliderScale = 255.00/(sliderMin - sliderMax)
set the locV of sprite mooVSlider = sliderMin - volumes( mGet, mooVVol ) /sliderScale
set the locV of sprite biteSlider = sliderMin - volumes( mGet, biteVol ) /sliderScale
set the locV of sprite engineSlider = sliderMin - volumes( mGet, engineVol )/sliderScale
set the locV of sprite bgSlider = sliderMin - volumes( mGet, bgVol ) /sliderScale
updateStage
set the castNum of sprite bgSlider = sliderCast
set the castNum of sprite biteSlider = sliderCast
set the castNum of sprite engineSlider = sliderCast
set the castNum of sprite mooVSlider = sliderCast
set the constraint of sprite mooVSlider = mooVTrack
set the constraint of sprite biteSlider = biteTrack
set the constraint of sprite engineSlider = engineTrack
set the constraint of sprite bgSlider = bgTrack
set the buttonStyle = 1
if showController then
set the hilite of cast controller = TRUE
set the hilite of cast noController = FALSE
else
set the hilite of cast controller = FALSE
set the hilite of cast noController = TRUE
end if
end initControls